package com.zygh.policeasset.component.ExcelDataHand;

import cn.afterturn.easypoi.handler.impl.ExcelDataHandlerDefaultImpl;
import com.zygh.policeasset.pojo.export.ExportBasics;
import org.apache.poi.common.usermodel.HyperlinkType;
import org.apache.poi.ss.usermodel.CreationHelper;
import org.apache.poi.ss.usermodel.Hyperlink;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/component/ExcelDataHand/ExcelDataHandBasics.class */
public class ExcelDataHandBasics extends ExcelDataHandlerDefaultImpl<ExportBasics> {
    public Hyperlink getHyperlink(CreationHelper creationHelper, ExportBasics obj, String name, Object value) {
        Hyperlink hyperlink = creationHelper.createHyperlink(HyperlinkType.URL);
        hyperlink.setLabel(name);
        hyperlink.setAddress(obj.getPicurl());
        return hyperlink;
    }
}